The Imagick class
PHP Manual

Imagick::separateImageChannel

(PECL imagick 2.0.0)

Imagick::separateImageChannelSeparates a channel from the image

Descripción

bool Imagick::separateImageChannel ( int $channel )
Warning

Esta función no está documentada actualmente, solamente se encuentra disponible la lista de parámetros.

Separates a channel from the image and returns a grayscale image. A channel is a particular color component of each pixel in the image.

Lista de parámetros

channel

Valores retornados

Returns TRUE on success.

Errors/Exceptions

Throws ImagickException on error.


The Imagick class
PHP Manual